﻿using System.Collections.Generic;

namespace SimpleBehaviorTreeLibrary
{
    public abstract class ComplexComposite : Composite
    {
        protected List<Task> Children = new List<Task>();

        public override Task AddChild(Task child)
        {
            Children.Add(child);

            return child;
        }
    }
}
